SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5dc4bf6dbe35b5254efb267024db9897e29653c26a45f84a5f006291b48b580d' 
  AND token = 'dD2yPGyDJNQUmJ27l+dEBg/hQEZ5HnSbFaGaU1u5hUE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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