SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0409efa404c48025335b7cad235a61f6c27cbfc75cfea51ace21ed6c981f8147' 
  AND token = 'PPTn/4ME3YzCbGaPX3hwp6Qk8Ltzx0MDi+fq8OYBlXs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}