SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e4f7b9cc0455ecadcc22f3487f174a622a1160655b9a8872e6346127e76b546d' 
  AND token = 'g3LGb/il2vsKX7IzCnwy+VgO01bvdxe4jjpIg27P9e4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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