SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cddac3099e9776ebf8d1d8cb7b41d5852c853fecee88a197802743460139d15f' 
  AND token = 'tyLSDwMTu6HSTSqNX9ifv/dFRvbu0Zg6y4JZA6xsg1M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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