SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '90dd4dd64e64d9704e5e600c81c31bc2c54f6adc0d164f8c6558a8afa2a67fa8' 
  AND token = 'WXPGoaYvEQWt8kPcO7n/LWPBeJx/GZMy1trQP0E3g8Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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