SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'efca8f9a22c2a622c04a05d2323a5d2c41789cfe2745255ee13d8b544743210b' 
  AND token = 'YZy15ad8peUWKvyl1Dgf1IXJDaoLX/jCXpFffkeE9Wo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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