SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0dbe12ecfb7c8c4877380c1d77c46aefae7d199c3c392dc60e1fcf6852615979' 
  AND token = 'Br02m8NLOu/mJBx+2amwCm2RpZmEXeqULKucm31LZSg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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