SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'afe9c3e6eed4957132b4aa80175a1ed24362a4b4b89f49d321cde2c3c3e094a1' 
  AND token = 'Kp4H+HAXYgBnMLV479wmHdKeRn3oPEf8c/ZX25n91S0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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