SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '18c45b7bf5d3b4769002a607dd111ae56537700772ac437feca8676215ebae2f' 
  AND token = '6s9NQN7TucbYHepIfC2epGNk0/TuJfiIJl0B6fwajcw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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