SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ab27caa3d6abdd12909c5cccadeb8857127e4fb5b7919186225d9fa90b9a1e85' 
  AND token = 'S4qcs/oNIoUytDIR0sE46m4xQpA5Cy5q0q9YwgD3hQw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00056

JSON explain

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