SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '24f30eabd36543d9f8318dec0b5fdc11a8680f06930b925052fde9427535ac5c' 
  AND token = 'Ad1e55U023TXT/WjsPzRuE4NMVpb08AJc+Sit9OUlKE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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