SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ffae9d6c3a6490c37625f3593914c33b3b13db42ed28d8827cdae5c6f7a3dfb2' 
  AND token = 'UBmo+YYx2+QS00ZR1QeW3Pl5E5BxOEUMv7cVd78MIrM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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