SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ef5f0a3b0d68b4ad5e5f52be10ca19c6582a33312a41a1eec867af063180211e' 
  AND token = 'S+8biCVueeihWbcjmd2wy5OhrBFdzcTe6twFFFpwcds=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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