SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '00f2d3116cc3ec1fe776599181a567c843f474afa1028cdde0421b7e81acdb63' 
  AND token = 'YKiLBmf3INevJTZoMEqXsXgpHhflOWrVnnZ5l3e8RP4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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