SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ba0a267d25d740b05777f5a82c050f399282d3a0a53688c14bf02ef6ec3d4ee4' 
  AND token = 'ZfxqOKK1C07Uj5ZdBO5IpmkZD2Jm9mk+HmCJDCFUIyM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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