SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '167365b553a61a5a2a9020621ae24d4bdc8d81bec0563c40d489034ab3e92b2c' 
  AND token = 'krWUcaRUAXhJGTKFtseFFy/9ruRaQdemCe35CifyAOY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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