SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4242885427225a623c60adddf491b7439afc7732e48ad5631bcd938d42bbb738' 
  AND token = 'aiT46P3Vn964m4vg9wCCZZjG5vrwZlrI7wWomTax8xM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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