SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b6dfdb1f9b6b04667daf0e20d11707196c04f07131662bb3f0af33b538e7a710' 
  AND token = '6IK5WhIsFclxr0yJQ2PC2RJPeLqSob/p+uGVQOZJsl8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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