SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bc0a5e981dd21a0134588e773b3b12c746f5fbc0771d708a45ab9d17d16fdc6f' 
  AND token = 'Z5Wp1bNDKtJXYsvmyjSlGw/xDeun2Fq6Qcx4ocm0R8c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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