SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0ae7ea7facdf98f9638219c76eb01cae76e79bab22e821132c2741ef184a3f97' 
  AND token = 'YEjTlGV0RW/sOabM7eyAmwvdw2VHpYfu6wh94u2DwQE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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