SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '821e6c8ff6817a3964128ab4d30b1179cbf94895272a5e05df36677f6c58e2ab' 
  AND token = 'W4SP1UrL5vEoDtPY2jLp7TYYMQcQcWpbCjyeqa6yF8c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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