SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9d5c4722cb4e22132e9a53f159a23188c42d8b0f14085d7a706397ea828f0c8e' 
  AND token = 'h6Mvp50Vq7TB+W3ko2Udl0dBZECDZgWAGn1k27oJ1mI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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