SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '532d9e9b35108e595503d10b1e289f55af7e742f6e609892b759fc7c8c4a8946' 
  AND token = 'SI8Pf4v+Q5sm1HVg5ts9Fp5Nxkr8UF3ILhchpL4Rn0Q=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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