SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4a51ce2c7ddef0549b88f31b5d691c17d54ae61da2b99eba118d8346c0cfa805' 
  AND token = 'CHmh/hiNj4d0W/GRKUf9IJu6Dl9WlRS+wKCekjIoH5c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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