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

Query time 0.00016

JSON explain

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