SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a1598e214207eaa0aecf7b1664f437fc9c95550988c20497dd0548cea4cfa588' 
  AND token = 'Ao/PMCpRPQVY90D31lI2HDFFYT8m+oBpKtsJHwfInoM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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