SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'aa4d765a0acb11245e259047b2740de884cf11661c8c6e99fce3cd3ed21d8424' 
  AND token = 'w+DOcMVIiNO1jpWe7+Hz1ZPYouyjYu2BpFCXCXWylgE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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