SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd8252c998b292bba3f20e1f44d58cb90d736c26b1628537b9c9092087df05acb' 
  AND token = 'oLR8XBxJN7CcC9tnowrmofvrij941ScgBURtbKiuLD4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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